//第一个
var length = 10;

function fn() {
  console.log(this.length);
}

var obj = {
  length: 5,
  method: function (fn) {
    fn();
    // arguments[0]，相当于是arguments.fn
    arguments[0]();
  }
}

obj.method(fn, 1);


//第二个
function a(xx) {
  debugger;
  this.x = xx;
  return this;
}

var x = a(5);
var y = a(6);
console.log(x.x);
console.log(y.x);
